package com.ruoyi.express.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 快递 表 express_info
 * 
 * @author ruoyi
 * @date 2018-12-27
 */
public class ExpressInfo extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 快递单主键id */
	private Long expressId;
	/** 快递类型 */
	@Excel(name = "快递类型")
	private String expressType;
	/** 快递公司名称 */
	@Excel(name = "快递公司名称")
	private String expressCompany;
	/** 快递单号 */
	@Excel(name = "快递单号")
	private String expressNo;
	/** 快递条码（一维码） */
	@Excel(name = "快递条码（一维码）")
	private String expressBarcode;
	/** 收件人姓名 */
	@Excel(name = "收件人姓名")
	private String addresseeName;
	/** 收件人电话 */
	@Excel(name = "收件人电话")
	private String addresseePhone;
	/** 收件人地址 */
	@Excel(name = "收件人地址")
	private String addresseeAddr;
	/** 寄件人姓名 */
	@Excel(name = "寄件人姓名")
	private String senderName;
	/** 寄件人电话 */
	@Excel(name = "寄件人电话")
	private String senderPhone;
	/** 寄件人地址 */
	@Excel(name = "寄件人地址")
	private String senderAddr;
	/** 快递状态（1初始 2派送网点中 3已送达网点 4已通知收件） */
	@Excel(name = "快递状态", readConverterExp = "（1初始 2派送网点中 3已送达网点 4已通知收件）")
	private String status;
	/** 删除标志（1代表存在 2代表删除） */
	@Excel(name = "删除标志", readConverterExp = "（1代表存在 2代表删除）")
	private String delFlag;
	/** 用户ID（派送员） */
	@Excel(name = "用户ID（派送员）")
	private Long userId;
	/** 部门ID（派送员部门） */
	@Excel(name = "部门ID（派送员部门）")
	private Long deptId;
	/** 创建者 */
	@Excel(name = "创建者")
	private String createBy;
	/** 创建时间 */
	@Excel(name = "创建时间", dateFormat = "yyyy-MM-dd HH:MM:SS")
	private Date createTime;
	/** 更新者 */
	@Excel(name = "更新者")
	private String updateBy;
	/** 更新时间 */
	@Excel(name = "更新时间", dateFormat = "yyyy-MM-dd HH:MM:SS")
	private Date updateTime;

	public void setExpressId(Long expressId)
	{
		this.expressId = expressId;
	}

	public Long getExpressId()
	{
		return expressId;
	}
	public void setExpressType(String expressType) 
	{
		this.expressType = expressType;
	}

	public String getExpressType() 
	{
		return expressType;
	}
	public void setExpressCompany(String expressCompany) 
	{
		this.expressCompany = expressCompany;
	}

	public String getExpressCompany() 
	{
		return expressCompany;
	}
	public void setExpressNo(String expressNo) 
	{
		this.expressNo = expressNo;
	}

	public String getExpressNo() 
	{
		return expressNo;
	}
	public void setExpressBarcode(String expressBarcode) 
	{
		this.expressBarcode = expressBarcode;
	}

	public String getExpressBarcode() 
	{
		return expressBarcode;
	}
	public void setAddresseeName(String addresseeName) 
	{
		this.addresseeName = addresseeName;
	}

	public String getAddresseeName() 
	{
		return addresseeName;
	}
	public void setAddresseePhone(String addresseePhone) 
	{
		this.addresseePhone = addresseePhone;
	}

	public String getAddresseePhone() 
	{
		return addresseePhone;
	}
	public void setAddresseeAddr(String addresseeAddr) 
	{
		this.addresseeAddr = addresseeAddr;
	}

	public String getAddresseeAddr() 
	{
		return addresseeAddr;
	}
	public void setSenderName(String senderName) 
	{
		this.senderName = senderName;
	}

	public String getSenderName() 
	{
		return senderName;
	}
	public void setSenderPhone(String senderPhone) 
	{
		this.senderPhone = senderPhone;
	}

	public String getSenderPhone() 
	{
		return senderPhone;
	}
	public void setSenderAddr(String senderAddr) 
	{
		this.senderAddr = senderAddr;
	}

	public String getSenderAddr() 
	{
		return senderAddr;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}

	public String getStatus() 
	{
		return status;
	}
	public void setDelFlag(String delFlag) 
	{
		this.delFlag = delFlag;
	}

	public String getDelFlag() 
	{
		return delFlag;
	}
	public void setUserId(Long userId)
	{
		this.userId = userId;
	}

	public Long getUserId()
	{
		return userId;
	}
	public void setDeptId(Long deptId)
	{
		this.deptId = deptId;
	}

	public Long getDeptId()
	{
		return deptId;
	}
	public void setCreateBy(String createBy) 
	{
		this.createBy = createBy;
	}

	public String getCreateBy() 
	{
		return createBy;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setUpdateBy(String updateBy) 
	{
		this.updateBy = updateBy;
	}

	public String getUpdateBy() 
	{
		return updateBy;
	}
	public void setUpdateTime(Date updateTime) 
	{
		this.updateTime = updateTime;
	}

	public Date getUpdateTime() 
	{
		return updateTime;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("expressId", getExpressId())
            .append("expressType", getExpressType())
            .append("expressCompany", getExpressCompany())
            .append("expressNo", getExpressNo())
            .append("expressBarcode", getExpressBarcode())
            .append("addresseeName", getAddresseeName())
            .append("addresseePhone", getAddresseePhone())
            .append("addresseeAddr", getAddresseeAddr())
            .append("senderName", getSenderName())
            .append("senderPhone", getSenderPhone())
            .append("senderAddr", getSenderAddr())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
